Don't apply keyboard decoding to unread-command-events.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 23 May 2013 17:25:42 +0000 (13:25 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 23 May 2013 17:25:42 +0000 (13:25 -0400)
commit61d4fd034d9fc3eac42dd9f2a7aa7d0170898334
treeb4246b7e40fe5f33a956fdb1b346752b5fa530f7
parentd70c9c6f026d47dda7b3f8191edbbcd808aeaec1
Don't apply keyboard decoding to unread-command-events.
* src/keyboard.c: Apply keyboard decoding only to events that come directly
from the tty, not from unread-command-events (bug#14368).
(read_event_from_main_queue): New function, extracted from read_char).
(read_decoded_char): Remove.
(read_decoded_event_from_main_queue): New function to replace it.
(read_char): Use it.
(read_key_sequence): Use read_char rather than read_decoded_char.
src/ChangeLog
src/keyboard.c